// 入口文件
// console.log('ok')
import Vue from 'vue'
import app from './App.vue' 
import { Header,Swipe, SwipeItem} from 'mint-ui'
Vue.component(Header.name, Header)
Vue.component(Swipe.name, Swipe)
Vue.component(SwipeItem.name, SwipeItem)
import './lib/mui/css/mui.min.css'
import './lib/mui/css/icons-extra.css'
import './lib/mui/fonts/mui-icons-extra.ttf'
import VueResource from 'vue-resource'
Vue.use(VueResource)
// Vue.http.options.root = 'http://106.52.41.228:3000'
Vue.http.options.root = 'http://106.52.41.228:3000'

import VueRouter from 'vue-router'
// 1.2 安装路由
Vue.use(VueRouter)
import router from './router.js'



var vm = new Vue({ 
    el:'#app',
    render: c => c(app),
    router
})
 
  